[][src]Crate carapax

A Telegram Bot framework

Re-exports

pub use tgbot::mime;

Modules

longpoll

Utilities to receive updates using long poll

methods

Methods available in the Bot API

types

Types available in the Bot API

webhook

Services to receive updates via webhook

Structs

Api

Telegram Bot API client

Command

Contains information about command

CommandDispatcher

A simple commands handler

Config

An API config

Dispatcher

A Telegram Update dispatcher

HandlerError

An error returned by handler

Enums

ApiError

A general API error

CommandError

An error when parsing command

DownloadFileError

An error when downloading file

ExecuteError

An error when executing method

HandlerResult

Result of a handler

ParseProxyError

An error when parsing proxy

Traits

ErrorHandler

A handler for errors occurred when dispatching update

Handler

An update handler

TryFromUpdate

Allows to create an input for a handler from given update

UpdateHandler

An update handler

Attribute Macros

async_trait
handler

Mark an async function as update handler